home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
No Entry.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
859b
|
44 lines
[SUBJECT]
Description=Check if the form entry is blank
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function noEntry() {
;mt=document.form.entry.value;
;if ((mt.length<1)||(mt.substring(0,6)=="******")) {
;alert("`Message`");
;document.form.entry.value="******Please Complete This Entry";
;document.form.entry.focus();
;return false;
;}
;else { return true; }
;}
;// End -->
;</script>
;
[BODY_TEXT]
;<form name="form" action="`URL`" onsubmit="return noEntry()">
;<div align="center">
;<input type="text" name="entry" size="40"><br>
;<input type="submit" name="button" value="submit">
;</div>
;</form>
;
[`Message`]
Kind=S
Value=I'm sorry. This entry must be completed before I can submit this form for processing.
[`URL`]
Kind=U
Value=/cgi-bin/your-form-processor.pl